HPDFINFO
SET HPDFINFO / GET HPDFINFO
SET HPDFINFO:
This command is be used to insert some document attributes/properties about the author, creation date etc.
All these information are in meta-data and not shown inside the PDF document.
Syntax:
SET HPDFINFO AUTHOR TO cValue
SET HPDFINFO CREATOR TO cValue
SET HPDFINFO TITLE TO cValue
SET HPDFINFO SUBJECT TO cValue
SET HPDFINFO KEYWORDS TO cValue
SET HPDFINFO DATECREATED TO dValue [ TIME cTimeString ]
SET HPDFINFO DATEMODIFIED TO dValue [ TIME cTimeString ]
Source code example:
SET HPDFINFO AUTHOR TO "My Author"
SET HPDFINFO CREATOR TO "My Creator"
SET HPDFINFO TITLE TO "Doc Title"
SET HPDFINFO SUBJECT TO "Doc Subject"
SET HPDFINFO KEYWORDS TO "Keyword1, Keyword2"
SET HPDFINFO DATECREATED TO date()
SET HPDFINFO DATEMODIFIED TO date()
SET HPDFINFO DATECREATED TO date() TIME time()
SET HPDFINFO DATEMODIFIED TO date() TIME time()
GET HPDFINFO:
This command is be used to retrieve the document attributes/properties about the author, creation date etc., already stored in the PDF document to the memory variable specified.
Syntax:
GET HPDFINFO AUTHOR TO cValue
GET HPDFINFO CREATOR TO cValue
GET HPDFINFO TITLE TO cValue
GET HPDFINFO SUBJECT TO cValue
GET HPDFINFO KEYWORDS TO cValue
GET HPDFINFO DATECREATED TO cDateTime
GET HPDFINFO DATEMODIFIED TO cDateTime
Source code example:
GET HPDFINFO AUTHOR TO cAuthor
GET HPDFINFO CREATOR TO cCreator
GET HPDFINFO TITLE TO cTitle
GET HPDFINFO SUBJECT TO cSubject
GET HPDFINFO KEYWORDS TO cKeywords
GET HPDFINFO DATECREATED TO cDateTime
GET HPDFINFO DATEMODIFIED TO cDateTime